﻿using System;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;
using Legend.Object;

namespace Legend.Mesh
{
    public interface IPrimitives<T>
    {
        PrimitiveType PrimitiveType
        {
            get;
        }

        int VertexOffset
        {
            get;
        }

        T[] VertexData
        {
            get;
        }

        int VertexNumber
        {
            get;
        }

        int[] IndexData
        {
            get;
        }

        int IndexOffset
        {
            get;
        }

        int PrimitiveCount
        {
            get;
        }

        string TextureName
        {
            get;
        }
    }
}
